<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>
<style>
   #left  {float:left;width:55%;}
   #right {float:right;width:42%;}
</style>
</head>
<body marginheight="0">
<div id="left">
<h2>小组成员：</h2>
<table class=lst>

	<c:forEach items="${group.fansSet}" var="fans">
		<TR>
			<TD vAlign=top width=75><A href="user/${fans.name}">
			<IMG class=fansIcon src="${fans.icon}"></A></TD>
			<td>
			<h3><a href="user/${fans.name}">${fans.nickName}</a></h3>
			加入于${fans.joinDate}&nbsp;<img src="images/visit.gif">${fans.hot}点贡献度<br>
			<c:if test="${fans.emailOpenType==1}">
			email：<a href="mailto:${fans.email}">${fans.email}</a><br>
			</c:if>
			blog地址：<a href="${fans.blog}">${fans.blog}</a><br>
			自我介绍：${fans.descn}<br>
			</td>
		</TR>
	</c:forEach>
</table>
</div>

<div id="right">
<p>
<h1>小组信息：</h1>
<p>小组名称：${group.name}<br>
<a href="user/${group.creator.name}">${group.creator.nickName}</a>于${group.createDate}创建<br>
小组url地址:<a href="${group.url}">${group.url}</a><br>
小组描述：${group.descn}<br><br>


<c:choose><c:when test="${!inGroup}">
<a href="handle/joinGroup/${group.groupId}">加入这个组</a> 
</c:when><c:otherwise>
	<a href="handle/leaveGroup/${group.groupId}">离开这个组</a>
</c:otherwise></c:choose>
<p><a href="editGroup.html">我也要创建小组</a>
</div>
</body>
</html>
